<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">

        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu">
            <li class="header">主菜单</li>

            @foreach($treeview as $row)
                <li class="active treeview">
                    <a href="#">
                        <i class="{{$row['icon']}}"></i>
                        <span>{{$row['name']}}</span>
                        <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i>
                    </span>
                    </a>

                    <ul class="treeview-menu">
                        @foreach($row['son'] as $v)
                            <li class="active">
                                <a href="{{$v['url']}}">
                                    <i class="{{$v['icon']}}"></i>{{$v['name']}}
                                </a>
                            </li>
                        @endforeach
                    </ul>
                </li>
            @endforeach



            <li class="active treeview">
                <a href="#">
                    <i class="fa fa-dashboard"></i>
                    <span>文章管理</span>
                    <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i>
                    </span>
                </a>
                <ul class="treeview-menu">
                    <li class="active">
                        <a href="{{route('admin.artile.index')}}">
                            <i class="fa fa-circle-o"></i>文章列表
                        </a>
                    </li>
                </ul>
            </li>
        </ul>
    </section>
    <!-- /.sidebar -->
</aside>